<%--Created by IntelliJ IDEA.--%>
  <%--User: ASUS--%>
  <%--Date: 2018/5/16--%>
  <%--Time: 20:26--%>
  <%--To change this template use File | Settings | File Templates.--%>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>

    <style type="text/css">
        #error{
            color: red;
        }
    </style>
</head>
<body>

<h1>用户注册</h1>
<form method="post" action="register.jsp">
    用户名：<input type="text" name="username"/>
    密码：<input type="text" name="password"/>

    <input type="submit" value="注册"/>
    <button><a href="login.jsp">已注册，返回登录页面</a></button>
    <p id="error">${error}</p>

</form>


</body>
</html>
